package cn.edu.zjut.bean;

/**
 * @author XiaoFeng
 * @version 1.0
 * @Description Create by 2021/12/3 14:37
 */

public interface IItemOrder {
    //    总订单数++
    public void incrementNumItems();

    //    取消订单
    public void cancelOrder();

    //    获得总价钱
    public double getTotalCost();

    public IItem getItem();

    public void setItem(IItem item);

    public int getNumItems();

    public void setNumItems(int numItems);
}
